package thread;

public class OutGuestThread extends Thread{
	InOutProcess ip;
	public OutGuestThread(InOutProcess ip) {
		this.ip=ip;
	}
	@Override
	public void run() {
		for(int i=1 ; i<10 ; i++){
			ip.OutGuest();
			try {
				Thread.sleep(3000);  
			} catch (InterruptedException e) {		
				e.printStackTrace();
			}
		}
	}
}
